#!/usr/bin/env node 

const {program}=require('commander');

const {version}=require('./package.json');

const {actionHandle}=require('./utils/action');
//定义指令
program
    .command('init')
    .description('show city weather')
    .action(actionHandle)

program.version(version).parse(process.argv);